﻿using MediatR;
using Messhall.Application.Dto.Users.Requests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Messhall.Domain.Permission.BusinessObjects;
using Messhall.Domain.Permission.IRepositorys;
using Messhall.Framework.Domain.UnitOfWork;
using Messhall.Framework.Repository.UnitOfWork;

namespace Messhall.Application.Permission.Commands;

/// <summary>
/// 创建用户
/// </summary>
public class CreateUsersCommand : IRequest<bool>
{
    public CreateUsersCommand(CreateUserRequest request)
    {
        this.Request = request;
    }

    /// <summary>
    /// 用户信息
    /// </summary>
    public CreateUserRequest Request { get; }
}